#ifndef HOMEPAGE_H
#define HOMEPAGE_H

#include <QtWidgets>
#include "setwig.h"
#include "stm32wig.h"
#include "devicesearch.h"

namespace Ui {
class HomePage;
}

class HomePage : public QWidget
{
    Q_OBJECT

public:
    explicit HomePage(QWidget *parent = 0);
    ~HomePage();

public slots:
    void onConnectButtonClicked();
private:
    Ui::HomePage *ui;
    Stm32Wig* stm32Wig;
    SetWig *setWig;
    QLineEdit *lineEdit;
    QPushButton *pushButton;
    MqttHandler *mqtt;
    DeviceSearch* deviceSearch;
};

#endif // HOMEPAGE_H
